package com.ranyk.www.pojo.vo;

import com.ranyk.www.entity.AdminUser;
import com.ranyk.www.entity.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.util.List;

/**
 * CLASS_NAME: UserVO.java <br/>
 *
 * @author ranyk           <br/>
 * @version V1.0           <br/>
 * @decription: 用户 VO 对象  <br/>
 * @date: 2022-04-03 <br/>
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AdminUserVO extends AdminUser {


    @Serial
    private static final long serialVersionUID = -3112462727740050869L;

    /**
     * 组织名称
     */
    private String organizationName;
    /**
     * 用户角色
     */
    private List<Role> roles;


}
